package com.zhentao.tcp1.repository;

import com.zhentao.tcp1.model.ParkingEntry;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ParkingEntryRepository extends JpaRepository<ParkingEntry, Long> {
    List<ParkingEntry> findByLicensePlate(String licensePlate);
}
